﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace PmuRegistry.Data.BusinessObjects
{
	[Serializable()]
	public class Message
	{
		public MessageType UserMessageType { get; set; }
		[XmlIgnore]
		public string Source { get; set; }
		public string UserMessage { get; set; }
		public string SystemMessage { get; set; }
		[XmlIgnore]
		public string Detail { get; set; }	
	}

	public enum MessageType
	{
		Confirmation,
		Information,
		Success,
		Warning,
		Error
	}
}
